<?php
namespace Category;
use Zend\Db\ResultSet\ResultSet;
use Zend\Db\TableGateway\TableGateway;
use Category\Model\Category;
use Category\Model\CategoryTable;
use Category\Model\SubCategory;
use Category\Model\SubCategoryTable;
use Category\Model\Districts;
use Category\Model\DistrictsTable;
use Category\Model\Area;
use Category\Model\AreaTable;
use Category\Model\Location;
use Category\Model\LocationTable;
use Category\Model\PaperCriculation;
use Category\Model\PaperCriculationTable;
use Category\Model\NumberWords;
use Category\Model\NumberWordsTable;
use Category\Model\PeriodOfPackages;
use Category\Model\PeriodOfPackagesTable;
use Category\Model\Packages;
use Category\Model\PackagesTable;
use Category\Model\AddType;
use Category\Model\AddTypeTable;
use Category\Model\Paper;
use Category\Model\PaperTable;
use Category\Model\ImageDimensions;
use Category\Model\ImageDimensionsTable;
use Category\Model\Radius;
use Category\Model\RadiusTable;
use Category\Model\DayAmounts;
use Category\Model\DayAmountsTable;
use Category\Model\Language;
use Category\Model\LanguageTable;
class Module {
	
    public function getAutoloaderConfig()
    {
        return array(
            'Zend\Loader\ClassMapAutoloader' => array(
                __DIR__ . '/autoload_classmap.php',
            ),
            'Zend\Loader\StandardAutoloader' => array(
                'namespaces' => array(
                    __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
                ),
            ),
        );
    }
    public function getConfig()
    {
        return include __DIR__ . '/config/module.config.php';
    }    
    public function getServiceConfig()
    {
        return array(			
            'factories' => array( 
				'Category\Model\CategoryFactory'=>'Category\Factory\Model\CategoryTableFactory',
				'Category\Model\SubCategoryFactory'=>'Category\Factory\Model\SubCategoryTableFactory',
				'Category\Model\DistrictsFactory'=>'Category\Factory\Model\DistrictsTableFactory',
				'Category\Model\AreaFactory'=>'Category\Factory\Model\AreaTableFactory',
				'Category\Model\LocationFactory'=>'Category\Factory\Model\LocationTableFactory',
				'Category\Model\PaperCriculationFactory'=>'Category\Factory\Model\PaperCriculationTableFactory',
				'Category\Model\NumberWordsFactory'=>'Category\Factory\Model\NumberWordsTableFactory',
				'Category\Model\PeriodOfPackagesFactory'=>'Category\Factory\Model\PeriodOfPackagesTableFactory',
				'Category\Model\PackagesFactory'=>'Category\Factory\Model\PackagesTableFactory',
				'Category\Model\AddTypeFactory'=>'Category\Factory\Model\AddTypeTableFactory',
				'Category\Model\PaperFactory'=>'Category\Factory\Model\PaperTableFactory',
				'Category\Model\ImageDimensionsFactory'=>'Category\Factory\Model\ImageDimensionsTableFactory',
				'Category\Model\RadiusFactory'=>'Category\Factory\Model\RadiusTableFactory',
				'Category\Model\DayAmountsFactory'=>'Category\Factory\Model\DayAmountsTableFactory',
				'Category\Model\LanguageFactory'=>'Category\Factory\Model\LanguageTableFactory',
			),			
        );
    }
}